/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package core.crypto.integrity.p2m;

import java.util.Comparator;

/**
 *
 * @author Vinicius
 */
public class SegmentComparator  implements Comparator<Segment>{

    public int compare(Segment o1, Segment o2) {
        return o1.toString().compareToIgnoreCase(o2.toString());
    }

}
